<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>后盾招聘会员中心-我创建的简历-教学项目</title>
	<link rel="stylesheet" type="text/css" href="__STATIC__/Css/member-common-left.css">
		<!-- 头部结束 -->
	<link rel="stylesheet" type="text/css" href="__STATIC__/Css/resume_manager.css">
<jquery/>
	<script type="text/javascript">
		/**
		 * [已发布的职位,点击职位名称动作，要选中下面所有的职位]
		 * @return {[type]} [description]
		 */
		$(function(){
			//标记变量，默认为1
			var flag = 1;
			$('.full_cpid').click(function(){
				//如果是1 就选中，
				if(flag){
					$('.cpid_input').attr('checked',true);
					flag = 0;
					return;
				}
				//否则取消选择
				$('.cpid_input').attr('checked',false);
				flag = 1;
			})
			//input按钮背景色改变效果
			$('table tr td .sub').mouseover(function(){
				$(this).addClass('sub_bg');
			})
				$('table tr td .sub').mouseout(function(){
				$(this).removeClass('sub_bg');
			})
		})
	</script>
<include file='__STATIC__/head.html'/>
<include file='__STATIC__/menu.html'/>
		<include file='__STATIC__/left.html'/>
		<!-- 右边盒子开始 -->
		<div class="right_box">
			<div class="title_box">
				<h1>我创建的简历</h1>
			</div>
			<div class="tab_box">
				<a href="{|U:'index'}" <if value="!$_GET['state']">class="select"</if>>所有简历</a>
				<a href="{|U:'index',array('state'=>2)}" <if value="$_GET['state'] eq 2">class="select"</if>>审核通过的</a>
				<a href="{|U:'index',array('state'=>1)}" <if value="$_GET['state'] eq 1">class="select"</if>>审核中的</a>
				<a href="{|U:'index',array('state'=>3)}" <if value="$_GET['state'] eq 3">class="select"</if>>审核未通过的</a>
			</div>
			<!-- 简历名称盒子 -->
			<form action="" method="post">
				<table>
					<tr class="title">
						<td class="h_26 w_90">
							<label>
								<input type="checkbox" class="full_cpid">
								简历名称
							</label>
						</td>
						<td class="w_50">审核状态</td>
						<td class="w_50">刷新时间</td>
						<td class="w_50">到期时间</td>
						<td class="w_50">完整指数</td>
						<td class="w_50">浏览</td>
						<td class="w_50">操作</td>
					</tr>
					<if value="!$data">
						<tr class="tr_height" colspan='6'>
								<td>没有您要找的简历</td>
						</tr>
						<tr class="us_list">
							<td>
								<a href="{|U:'People/Resume/make1'}" class="sub">创建一份简历</a>
							</td>
						</tr>
					<else/>
						<foreach from="$data" value="$v">
						<tr>
							<td class="h_26">
								<label>
									<input type="checkbox" class="cpid_input" name="reid[]" value="{$v.reid}">
									<if value="$v['progress'] egt 60">
										<a href="{|U:'preview',array('reid'=>$v['reid'])}" style="color:#3978D5" target="_blank">{$v.resumename}</a>
									<else/>
									<!-- 分数小于60不能点击 -->
										<a href="javascript:;" style="color:#666666">{$v.resumename}</a>
									</if>
								</label>
							</td>
							<td class="w_50">{$v.verifystate}</td>
							<td class="w_50">{$v.freshtime}</td>
							<td class="w_50">{$v.endtime}</td>
							<td class="w_120">
								<div style="border:1px #006600 solid; width:60px; height:8px;float:left;margin-left:5px;">
									<div style="width:{$v.progress}%;background-color:#99CC00;height:8px;"></div>
								</div>
								<span class="progress">{$v.progress}%</span>
								
							</td>
							<td class="w_50">{$v.click}次</td>
							<td class="w_50 td_blue">
								<a href="{|U:'Resume/make1',array('reid'=>$v['reid'])}">修改</a>
								<a href="{|U:'private_set',array('reid'=>$v['reid'])}">隐私</a>
								<a href="javascript:;" onclick="if(confirm('确定删除吗？')) location.href='{|U:'ResumeManage/del_resume',array('reid'=>$v['reid'])}'">删除</a>  
							</td>
						</tr>
						</foreach>
						<tr class="us_list">
			 				<td colspan="10">
			 					<input type="button" value="创建一份简历" class="sub" onclick="location.href='{|U:'People/Resume/make1'}'">
			 					<input type="submit" class="sub" value="一键提升排名" name="up">
			 					<input type="submit" class="sub" value="删除简历" name="delete">
			 				</td>
						</tr>
						</if>
					</table>
				</form>
			
		</div>
		<!-- 右边盒子结束 -->
	</div>
	<!-- 内容大盒子结束 -->
	<include file='__STATIC__/foot.html'/>
</body>
</html>
